package com.aef.utils;

import com.alibaba.fastjson.JSONObject;

public class RetuenJson {
	public void RetuenJson(boolean type,String str) throws Exception{
		JSONObject json=new JSONObject();
		if(type){
			json.put("errorcode", "0");
			json.put("value", str);
		}else{
			json.put("errorcode", "1");
			json.put("value", str);
		}
	}
}
